<?php



class MonitoreoMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.MonitoreoMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('sindes');

		$tMap = $this->dbMap->addTable('monitoreo');
		$tMap->setPhpName('Monitoreo');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('CP_MONITOREO', 'CpMonitoreo', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('CF_USUARIO', 'CfUsuario', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('FECHA_ENTRADA', 'FechaEntrada', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('FECHA_SALIDA', 'FechaSalida', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('ESTATUS', 'Estatus', 'string', CreoleTypes::CHAR, true, 1);

	} 
} 